<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">

<TITLE>Command S[name] - convert an archive to a Self-Extracting type</TITLE>

<link href="style.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<OBJECT TYPE="application/x-oleobject" CLASSID="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">

	<PARAM NAME="Keyword" VALUE="Commands: S[name] - convert an archive
to a Self-Extracting type">
</OBJECT>

<P class="title"><A NAME="HELPCmdS"></A>Command <B>S[name]</B> - convert
an archive to a self-extracting<hr></P>

<P>This command creates a <A HREF="HELPArcSFX.htm">self-extracting
archive (SFX)</A> which, when executed, extracts the files contained
within it.</P>

<P>It is also possible to make an SFX archive as the first of a multi-volume
sequence, but it should be noted that the size will be larger by the
amount of the SFX module. Should SFX volumes be created using the command
<A HREF="HELPCmdA.htm"><B>a</B></A> with the switches: -v[&lt;size&gt;]
-sfx, then you do not need to ensure the volume size - the first volume
will be automatically created with the correct size.</P>

<P>This command is the command line equivalent of the <A HREF="HELPShellModes.htm">
archive management</A> command <A HREF="HELPCommandsSFX.htm">Convert
archive to SFX</A>.</P>

<h1><B>Example</B></h1>

<p class="sample">WinRAR s diamant</p>

<P>By default, WinRAR uses for RAR archives SFX module file <A HREF=
"HELPGUISFX.htm"><I>default.sfx</I></A>, which must exist in the same
folder as <I>winrar.exe</I> and, for ZIP archives, <A HREF="HELPGUISFX.htm">
<I>zip.sfx</I></A> module. It is possible to specify, in the "s" command,
an alternate SFX module name.</P>

<P>For example, to add the console SFX module <A HREF="HELPConsoleSFX.htm">
<I>WinCon.sfx</I></A> execute:</P>

<p class="sample">WinRAR sWinCon.sfx myinst</p>

</BODY>
</HTML>
